STEP 7: You can change strings so that you're working with all lowercase letters, no matter what the user enters.

  • Click on the LOGIC tab in your toolkit. Click on . Drag out Lower Case.
  • Change the variable to the left of the equal sign to soccer_ans.
  • Change the variable in front of .lower() to soccer_ans.
  • Click on . Drag out Say. Erase the string in parentheses. Replace it with soccer_ans.


To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)